WP_Defender\Component\Two_Fa A

Total Complexity 69
Dependencies 11
Dependents 6
Total lines 533
Lines of code 292
Logical lines of code 170
Comment lines 173
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
is_jetpack_sso()
A
49 8 32
get_default_provider_slug_for_user()
S
56 6 17
get_available_providers_for_user()
S
58 6 14
is_enable_for_current_role()
S
53 5 22
verify_otp()
S
59 5 13
send_otp_to_email()
S
45 3 40
get_custom_graphic_url()
S
57 4 17
is_enabled_otp_for_user()
S
60 4 13
get_enabled_providers_for_user()
S
60 4 12
get_providers()
S
58 3 16
get_user_secret()
S
60 3 14
generate_random_strings()
S
61 3 11
is_tml()
S
63 3 11
generate_otp()
S
54 2 18
get_provider_by_slug()
S
66 3 8
is_force_auth_enable_for()
S
66 2 8
count_users_with_enabled_2fa()
S
62 1 12
is_intersected_arrays()
S
78 1 3
is_user_enabled_otp()
S
79 1 3
is_checked_enabled_provider_by_slug()
S
75 1 4
enable_otp()
S
75 1 4